projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67385ca
)
(easy-menu-create-keymaps): Add menu-alias property.
author
Richard M. Stallman
<rms@gnu.org>
Thu, 13 Jun 1996 21:04:52 +0000
(21:04 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 13 Jun 1996 21:04:52 +0000
(21:04 +0000)
lisp/emacs-lisp/easymenu.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/easymenu.el
b/lisp/emacs-lisp/easymenu.el
index 192938fca3f25e57903f4228cedfe778dc7ee9e0..df3cc03cae8edb3e0a605671cfbaec4fb0dff852 100644
(file)
--- a/
lisp/emacs-lisp/easymenu.el
+++ b/
lisp/emacs-lisp/easymenu.el
@@
-174,7
+174,8
@@
is a list of menu items, as above."
(setq name (concat name " ...")))
(if (symbolp callback)
(fset command callback)
- (fset command (list 'lambda () '(interactive) callback)))))
+ (fset command (list 'lambda () '(interactive) callback)))
+ (put command 'menu-alias t)))
(if (null command)
;; Handle inactive strings specially--allow any number
;; of identical ones.